package com.tyc.kafka;

import com.tyc.kafka.listener.ConsumerStart;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 类描述
 *
 * @author tyc
 * @version 1.0
 * @date 2022-10-19 14:51:27
 */
@SpringBootApplication
public class KafkaApplication {
    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(KafkaApplication.class);
        springApplication.addListeners(new ConsumerStart());
        springApplication.run(args);
    }
}
